﻿using SD.Infrastructure.DTOBase;
using SlamDunk.MES.IAppService.DTOs.Outputs.FoundationContext;
using SlamDunk.ValueObjects.Enums;
using System;
using System.Runtime.Serialization;

namespace SlamDunk.MES.IAppService.DTOs.Outputs.StockContext
{
    /// <summary>
    /// 库存单据类数据传输对象
    /// </summary>
    [DataContract]
    public class StockOrderClassInfo : BaseDTO
    {
        #region 出/入库方向类型 —— StockDirectionType DirectionType
        /// <summary>
        /// 出/入库方向类型
        /// </summary>
        [DataMember]
        public StockDirectionType DirectionType { get; set; }
        #endregion

        #region 是否生成条码 —— bool? GenerateBarcode
        /// <summary>
        /// 是否生成条码
        /// </summary>
        [DataMember]
        public bool? GenerateBarcode { get; set; }
        #endregion

        #region 工厂模型Id —— Guid? FacilityId
        /// <summary>
        /// 工厂模型Id
        /// </summary>
        [DataMember]
        public Guid? FacilityId { get; set; }
        #endregion

        #region 描述 —— string Description
        /// <summary>
        /// 描述
        /// </summary>
        [DataMember]
        public string Description { get; set; }
        #endregion


        //导航属性

        #region 导航属性 - 工厂模型 —— FacilityInfo FacilityInfo
        /// <summary>
        /// 导航属性 - 工厂模型
        /// </summary>
        [DataMember]
        public FacilityInfo FacilityInfo { get; set; }
        #endregion
    }
}
